<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$title;?></title>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta content="<?=$keywords?>" name="keywords" />
<meta content="<?=$description?>" name="description" />
<link rel="shortcut icon" href="<?=config_item('i_base_url');?>favicon.ico" type=”image/x-icon”/>
<link href="<?=config_item('i_base_url');?>css/common.css" rel="stylesheet" type="text/css">
<script src="<?=config_item('i_base_url');?>js/jquery.js" type="text/javascript" language="javascript"></script>
<script src="<?=config_item('i_base_url');?>js/common.js"></script>
<!--<script src="/js/user.js"></script>-->
<script type="text/javascript">
//document.referer = 'http://www.baidu.com/';
    $(document).ready(function(){
    	$(".searchtxt").click(function(){
            if($(this).val() == '' || $(this).val() == '请输入您要搜索的影片名称或演员'){
                $(this).attr('value', '');
                $(this).css('color', '');
            }
    	});
    	$(".searchtxt").blur(function(){
    		if($(this).val() == ''){
    			$(this).attr('value', '请输入您要搜索的影片名称或演员');
    			$(this).css('color', '#797572');
    		}
    	});
    });
    function form_search_submit()
    {
        if($(".searchtxt").val() == '请输入您要搜索的影片名称或演员'){
            return false;
        }
        document.forms['_search'].submit();
    }
</script>
</head>
<body>
<div id="header_div">
	<div class="mainDiv">
		<div id="header_zb">
			<a href="javascript:void(0);" onclick="dy.setHomepage()">设为首页</a> |
			<a href="javascript:void(0);" onclick="dy.addFavorite()">+ 收藏本站</a>
		</div>
		<div id="header_link">
			<span id="loginout">
                <span id="login_status">
                    <a href="<?=config_item('i_base_url');?>register/">注册</a>  |
                    <a href="<?=config_item('i_base_url');?>login/">登录</a>
                </span>
                 | &nbsp;<a href="<?=config_item('i_base_url');?>google.xml" target="_blank">GOOGLE地图</a> &nbsp;|&nbsp;
                <a href="<?=config_item('i_base_url');?>baidu.xml" target="_blank">百度地图</a> &nbsp;|&nbsp;
				<a href="<?=config_item('i_base_url');?>rss.xml" target="_blank">RSS订阅</a> &nbsp;|&nbsp;
                <a href="<?=config_item('i_base_url');?>msg/index" target="_blank">留言求片</a> &nbsp;|&nbsp;
                <a>本站QQ群：<span style="font-size: 15px;color: red;">25239459</span></a>
			</span>
			<span>

			</span>
		</div>
	</div>
</div>
<!-- header begin-->
<div class="header">
	<div class="logo"><a href="<?=config_item('base_url')?>">
        <img src="<?=config_item('i_base_url');?>images/logo.jpg" alt="电影1010" title="电影1010" width="220" height="100"/>
	</a></div>
	<div class="top_ad"><img src="<?=config_item('i_base_url');?>images/top_banner.jpg" alt="首页导航广告" width="752" height="92"></div>
	<div class="blank5"></div>
	<div class="nav">
		<ul>
			<li><a href="<?=config_item('i_base_url');?>" title="电影1010 首页"><h4>首页</h4></a></li>
            <!--
            <li class="nav_li_hover"><a href="/"><h4>选中状态</h4></a></li>
			<li><a href="#" class="nav_sign_up">电影</a></li>
			<li><a href="#" class="nav_sign_up">电视剧</a></li>
			-->
            <li><a href="<?=config_item('i_base_url');?>category/1/0/1.html" title="电影"><h4>电影</h4></a></li>
            <li><a href="<?=config_item('i_base_url');?>category/2/0/1.html" title="剧集"><h4>剧集</h4></a></li>
			<li><a href="<?=config_item('i_base_url');?>category/3/0/1.html" title="综艺"><h4>综艺</h4></a></li>
			<li><a href="<?=config_item('i_base_url');?>category/4/0/1.html" title="动漫"><h4>动漫</h4></a></li>
			<li><a href="<?=config_item('i_base_url');?>category/5/0/1.html" title="音乐"><h4>音乐</h4></a></li>
            <li><a href="<?=config_item('i_base_url');?>category/6/0/1.html" title="游戏"><h4>游戏</h4></a></li>
            <li><a href="<?=config_item('i_base_url');?>category/7/0/1.html" title="图书"><h4>图书</h4></a></li>
            <li><a href="<?=config_item('i_base_url');?>category/8/0/1.html" title="软件"><h4>软件</h4></a></li>
            <li><a href="<?=config_item('i_base_url');?>category/9/0/1.html" title="资料"><h4>资料</h4></a></li>
		</ul>
		<div class="searchdiv">
			<div><form name="_search" action="<?=config_item('i_base_url');?>search" method="get">
				<input type="text" class="searchtxt" name="keyword"  value="<?php if(isset($keyword)):?><?=$keyword?><?php else:?>请输入您要搜索的影片名称或演员<?php endif;?>" />
				<a href="javascript:;" onclick="form_search_submit()" title="搜索"></a>
                </form>
			</div>
		</div>
	</div>
</div>
<!-- header end -->